<?php
session_start();
session_unset();

session_destroy();
// logged out, return home
header("Location: index.php");